package com.zhixiang.xaec.service.safebase.securitySystem.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.zhixiang.core.dao.BaseDao;
import com.zhixiang.core.service.impl.BaseServiceImpl;
import com.zhixiang.xaec.dao.safebase.securitySystem.InstitutionalReviewDao;
import com.zhixiang.xaec.entity.safebase.securitySystem.InstitutionalReview;
import com.zhixiang.xaec.service.safebase.securitySystem.InstitutionalReviewService;
@Service
public class InstitutionalReviewServiceImpl  extends 
BaseServiceImpl<InstitutionalReview,Long> implements InstitutionalReviewService{

    @Override
    @Resource(type=InstitutionalReviewDao.class)
    public void setBaseDao(BaseDao<InstitutionalReview, Long> dao) {
       setDao(dao);
    }

    @Override
    public String delete(String[] ids)
    {
       for(String id:ids){
           getDao().remove(Long.valueOf(id));
       }
        return null;
    }
}
